


typedef struct {
	int part2_3_length;
	int big_values;
	int global_gain;
	int scalefac_compress;
	int window_switching;
	int table_select[3];	
	int region0_count;
	int region1_count;
	int block_type;
	int mixed_block_flag;
	int two_regions[2];
	int subblock_gains[3];
} canal;

typedef struct {
	canal can1;
	canal can2;
	
	
	
	}granulo_info;

typedef struct {

	int main_data;
	int private_bits;
	int scfsi[2];
	granulo_info gran1;	
	granulo_info gran2;	
	int preflag;
	int scalefac_scale;
	int count1table_select;

}sideinfo;


typedef struct{
	int fp
}frame; 

void pos_block (FILE *fp, unread *bits, int ch, sideinfo *data );
void inform    (FILE *fp, unread *bits, int ch, sideinfo *data );
void sd_gran   (FILE *fp, unread *bits, int ch, granulo_info *gran );
void sd_decod  (sideinfo *data, frame *fp) 


